package com.adms.domain;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class ReformReplyExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public ReformReplyExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andReplyIdIsNull() {
            addCriterion("reform_reply.reply_id is null");
            return (Criteria) this;
        }

        public Criteria andReplyIdIsNotNull() {
            addCriterion("reform_reply.reply_id is not null");
            return (Criteria) this;
        }

        public Criteria andReplyIdEqualTo(Integer value) {
            addCriterion("reform_reply.reply_id =", value, "replyId");
            return (Criteria) this;
        }

        public Criteria andReplyIdNotEqualTo(Integer value) {
            addCriterion("reform_reply.reply_id <>", value, "replyId");
            return (Criteria) this;
        }

        public Criteria andReplyIdGreaterThan(Integer value) {
            addCriterion("reform_reply.reply_id >", value, "replyId");
            return (Criteria) this;
        }

        public Criteria andReplyIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("reform_reply.reply_id >=", value, "replyId");
            return (Criteria) this;
        }

        public Criteria andReplyIdLessThan(Integer value) {
            addCriterion("reform_reply.reply_id <", value, "replyId");
            return (Criteria) this;
        }

        public Criteria andReplyIdLessThanOrEqualTo(Integer value) {
            addCriterion("reform_reply.reply_id <=", value, "replyId");
            return (Criteria) this;
        }

        public Criteria andReplyIdIn(List<Integer> values) {
            addCriterion("reform_reply.reply_id in", values, "replyId");
            return (Criteria) this;
        }

        public Criteria andReplyIdNotIn(List<Integer> values) {
            addCriterion("reform_reply.reply_id not in", values, "replyId");
            return (Criteria) this;
        }

        public Criteria andReplyIdBetween(Integer value1, Integer value2) {
            addCriterion("reform_reply.reply_id between", value1, value2, "replyId");
            return (Criteria) this;
        }

        public Criteria andReplyIdNotBetween(Integer value1, Integer value2) {
            addCriterion("reform_reply.reply_id not between", value1, value2, "replyId");
            return (Criteria) this;
        }

        public Criteria andReformIdIsNull() {
            addCriterion("reform_reply.reform_id is null");
            return (Criteria) this;
        }

        public Criteria andReformIdIsNotNull() {
            addCriterion("reform_reply.reform_id is not null");
            return (Criteria) this;
        }

        public Criteria andReformIdEqualTo(Integer value) {
            addCriterion("reform_reply.reform_id =", value, "reformId");
            return (Criteria) this;
        }

        public Criteria andReformIdNotEqualTo(Integer value) {
            addCriterion("reform_reply.reform_id <>", value, "reformId");
            return (Criteria) this;
        }

        public Criteria andReformIdGreaterThan(Integer value) {
            addCriterion("reform_reply.reform_id >", value, "reformId");
            return (Criteria) this;
        }

        public Criteria andReformIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("reform_reply.reform_id >=", value, "reformId");
            return (Criteria) this;
        }

        public Criteria andReformIdLessThan(Integer value) {
            addCriterion("reform_reply.reform_id <", value, "reformId");
            return (Criteria) this;
        }

        public Criteria andReformIdLessThanOrEqualTo(Integer value) {
            addCriterion("reform_reply.reform_id <=", value, "reformId");
            return (Criteria) this;
        }

        public Criteria andReformIdIn(List<Integer> values) {
            addCriterion("reform_reply.reform_id in", values, "reformId");
            return (Criteria) this;
        }

        public Criteria andReformIdNotIn(List<Integer> values) {
            addCriterion("reform_reply.reform_id not in", values, "reformId");
            return (Criteria) this;
        }

        public Criteria andReformIdBetween(Integer value1, Integer value2) {
            addCriterion("reform_reply.reform_id between", value1, value2, "reformId");
            return (Criteria) this;
        }

        public Criteria andReformIdNotBetween(Integer value1, Integer value2) {
            addCriterion("reform_reply.reform_id not between", value1, value2, "reformId");
            return (Criteria) this;
        }

        public Criteria andGridUserIdIsNull() {
            addCriterion("reform_reply.grid_user_id is null");
            return (Criteria) this;
        }

        public Criteria andGridUserIdIsNotNull() {
            addCriterion("reform_reply.grid_user_id is not null");
            return (Criteria) this;
        }

        public Criteria andGridUserIdEqualTo(Integer value) {
            addCriterion("reform_reply.grid_user_id =", value, "gridUserId");
            return (Criteria) this;
        }

        public Criteria andGridUserIdNotEqualTo(Integer value) {
            addCriterion("reform_reply.grid_user_id <>", value, "gridUserId");
            return (Criteria) this;
        }

        public Criteria andGridUserIdGreaterThan(Integer value) {
            addCriterion("reform_reply.grid_user_id >", value, "gridUserId");
            return (Criteria) this;
        }

        public Criteria andGridUserIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("reform_reply.grid_user_id >=", value, "gridUserId");
            return (Criteria) this;
        }

        public Criteria andGridUserIdLessThan(Integer value) {
            addCriterion("reform_reply.grid_user_id <", value, "gridUserId");
            return (Criteria) this;
        }

        public Criteria andGridUserIdLessThanOrEqualTo(Integer value) {
            addCriterion("reform_reply.grid_user_id <=", value, "gridUserId");
            return (Criteria) this;
        }

        public Criteria andGridUserIdIn(List<Integer> values) {
            addCriterion("reform_reply.grid_user_id in", values, "gridUserId");
            return (Criteria) this;
        }

        public Criteria andGridUserIdNotIn(List<Integer> values) {
            addCriterion("reform_reply.grid_user_id not in", values, "gridUserId");
            return (Criteria) this;
        }

        public Criteria andGridUserIdBetween(Integer value1, Integer value2) {
            addCriterion("reform_reply.grid_user_id between", value1, value2, "gridUserId");
            return (Criteria) this;
        }

        public Criteria andGridUserIdNotBetween(Integer value1, Integer value2) {
            addCriterion("reform_reply.grid_user_id not between", value1, value2, "gridUserId");
            return (Criteria) this;
        }

        public Criteria andHandleUserIdIsNull() {
            addCriterion("reform_reply.handle_user_id is null");
            return (Criteria) this;
        }

        public Criteria andHandleUserIdIsNotNull() {
            addCriterion("reform_reply.handle_user_id is not null");
            return (Criteria) this;
        }

        public Criteria andHandleUserIdEqualTo(Integer value) {
            addCriterion("reform_reply.handle_user_id =", value, "handleUserId");
            return (Criteria) this;
        }

        public Criteria andHandleUserIdNotEqualTo(Integer value) {
            addCriterion("reform_reply.handle_user_id <>", value, "handleUserId");
            return (Criteria) this;
        }

        public Criteria andHandleUserIdGreaterThan(Integer value) {
            addCriterion("reform_reply.handle_user_id >", value, "handleUserId");
            return (Criteria) this;
        }

        public Criteria andHandleUserIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("reform_reply.handle_user_id >=", value, "handleUserId");
            return (Criteria) this;
        }

        public Criteria andHandleUserIdLessThan(Integer value) {
            addCriterion("reform_reply.handle_user_id <", value, "handleUserId");
            return (Criteria) this;
        }

        public Criteria andHandleUserIdLessThanOrEqualTo(Integer value) {
            addCriterion("reform_reply.handle_user_id <=", value, "handleUserId");
            return (Criteria) this;
        }

        public Criteria andHandleUserIdIn(List<Integer> values) {
            addCriterion("reform_reply.handle_user_id in", values, "handleUserId");
            return (Criteria) this;
        }

        public Criteria andHandleUserIdNotIn(List<Integer> values) {
            addCriterion("reform_reply.handle_user_id not in", values, "handleUserId");
            return (Criteria) this;
        }

        public Criteria andHandleUserIdBetween(Integer value1, Integer value2) {
            addCriterion("reform_reply.handle_user_id between", value1, value2, "handleUserId");
            return (Criteria) this;
        }

        public Criteria andHandleUserIdNotBetween(Integer value1, Integer value2) {
            addCriterion("reform_reply.handle_user_id not between", value1, value2, "handleUserId");
            return (Criteria) this;
        }

        public Criteria andIsGridRepliedIsNull() {
            addCriterion("reform_reply.is_grid_replied is null");
            return (Criteria) this;
        }

        public Criteria andIsGridRepliedIsNotNull() {
            addCriterion("reform_reply.is_grid_replied is not null");
            return (Criteria) this;
        }

        public Criteria andIsGridRepliedEqualTo(Boolean value) {
            addCriterion("reform_reply.is_grid_replied =", value, "isGridReplied");
            return (Criteria) this;
        }

        public Criteria andIsGridRepliedNotEqualTo(Boolean value) {
            addCriterion("reform_reply.is_grid_replied <>", value, "isGridReplied");
            return (Criteria) this;
        }

        public Criteria andIsGridRepliedGreaterThan(Boolean value) {
            addCriterion("reform_reply.is_grid_replied >", value, "isGridReplied");
            return (Criteria) this;
        }

        public Criteria andIsGridRepliedGreaterThanOrEqualTo(Boolean value) {
            addCriterion("reform_reply.is_grid_replied >=", value, "isGridReplied");
            return (Criteria) this;
        }

        public Criteria andIsGridRepliedLessThan(Boolean value) {
            addCriterion("reform_reply.is_grid_replied <", value, "isGridReplied");
            return (Criteria) this;
        }

        public Criteria andIsGridRepliedLessThanOrEqualTo(Boolean value) {
            addCriterion("reform_reply.is_grid_replied <=", value, "isGridReplied");
            return (Criteria) this;
        }

        public Criteria andIsGridRepliedIn(List<Boolean> values) {
            addCriterion("reform_reply.is_grid_replied in", values, "isGridReplied");
            return (Criteria) this;
        }

        public Criteria andIsGridRepliedNotIn(List<Boolean> values) {
            addCriterion("reform_reply.is_grid_replied not in", values, "isGridReplied");
            return (Criteria) this;
        }

        public Criteria andIsGridRepliedBetween(Boolean value1, Boolean value2) {
            addCriterion("reform_reply.is_grid_replied between", value1, value2, "isGridReplied");
            return (Criteria) this;
        }

        public Criteria andIsGridRepliedNotBetween(Boolean value1, Boolean value2) {
            addCriterion("reform_reply.is_grid_replied not between", value1, value2, "isGridReplied");
            return (Criteria) this;
        }

        public Criteria andGridContentIsNull() {
            addCriterion("reform_reply.grid_content is null");
            return (Criteria) this;
        }

        public Criteria andGridContentIsNotNull() {
            addCriterion("reform_reply.grid_content is not null");
            return (Criteria) this;
        }

        public Criteria andGridContentEqualTo(String value) {
            addCriterion("reform_reply.grid_content =", value, "gridContent");
            return (Criteria) this;
        }

        public Criteria andGridContentNotEqualTo(String value) {
            addCriterion("reform_reply.grid_content <>", value, "gridContent");
            return (Criteria) this;
        }

        public Criteria andGridContentGreaterThan(String value) {
            addCriterion("reform_reply.grid_content >", value, "gridContent");
            return (Criteria) this;
        }

        public Criteria andGridContentGreaterThanOrEqualTo(String value) {
            addCriterion("reform_reply.grid_content >=", value, "gridContent");
            return (Criteria) this;
        }

        public Criteria andGridContentLessThan(String value) {
            addCriterion("reform_reply.grid_content <", value, "gridContent");
            return (Criteria) this;
        }

        public Criteria andGridContentLessThanOrEqualTo(String value) {
            addCriterion("reform_reply.grid_content <=", value, "gridContent");
            return (Criteria) this;
        }

        public Criteria andGridContentLike(String value) {
            addCriterion("reform_reply.grid_content like", value, "gridContent");
            return (Criteria) this;
        }

        public Criteria andGridContentNotLike(String value) {
            addCriterion("reform_reply.grid_content not like", value, "gridContent");
            return (Criteria) this;
        }

        public Criteria andGridContentIn(List<String> values) {
            addCriterion("reform_reply.grid_content in", values, "gridContent");
            return (Criteria) this;
        }

        public Criteria andGridContentNotIn(List<String> values) {
            addCriterion("reform_reply.grid_content not in", values, "gridContent");
            return (Criteria) this;
        }

        public Criteria andGridContentBetween(String value1, String value2) {
            addCriterion("reform_reply.grid_content between", value1, value2, "gridContent");
            return (Criteria) this;
        }

        public Criteria andGridContentNotBetween(String value1, String value2) {
            addCriterion("reform_reply.grid_content not between", value1, value2, "gridContent");
            return (Criteria) this;
        }

        public Criteria andGridReplyTimeIsNull() {
            addCriterion("reform_reply.grid_reply_time is null");
            return (Criteria) this;
        }

        public Criteria andGridReplyTimeIsNotNull() {
            addCriterion("reform_reply.grid_reply_time is not null");
            return (Criteria) this;
        }

        public Criteria andGridReplyTimeEqualTo(Date value) {
            addCriterion("reform_reply.grid_reply_time =", value, "gridReplyTime");
            return (Criteria) this;
        }

        public Criteria andGridReplyTimeNotEqualTo(Date value) {
            addCriterion("reform_reply.grid_reply_time <>", value, "gridReplyTime");
            return (Criteria) this;
        }

        public Criteria andGridReplyTimeGreaterThan(Date value) {
            addCriterion("reform_reply.grid_reply_time >", value, "gridReplyTime");
            return (Criteria) this;
        }

        public Criteria andGridReplyTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("reform_reply.grid_reply_time >=", value, "gridReplyTime");
            return (Criteria) this;
        }

        public Criteria andGridReplyTimeLessThan(Date value) {
            addCriterion("reform_reply.grid_reply_time <", value, "gridReplyTime");
            return (Criteria) this;
        }

        public Criteria andGridReplyTimeLessThanOrEqualTo(Date value) {
            addCriterion("reform_reply.grid_reply_time <=", value, "gridReplyTime");
            return (Criteria) this;
        }

        public Criteria andGridReplyTimeIn(List<Date> values) {
            addCriterion("reform_reply.grid_reply_time in", values, "gridReplyTime");
            return (Criteria) this;
        }

        public Criteria andGridReplyTimeNotIn(List<Date> values) {
            addCriterion("reform_reply.grid_reply_time not in", values, "gridReplyTime");
            return (Criteria) this;
        }

        public Criteria andGridReplyTimeBetween(Date value1, Date value2) {
            addCriterion("reform_reply.grid_reply_time between", value1, value2, "gridReplyTime");
            return (Criteria) this;
        }

        public Criteria andGridReplyTimeNotBetween(Date value1, Date value2) {
            addCriterion("reform_reply.grid_reply_time not between", value1, value2, "gridReplyTime");
            return (Criteria) this;
        }

        public Criteria andGridSignatureIsNull() {
            addCriterion("reform_reply.grid_signature is null");
            return (Criteria) this;
        }

        public Criteria andGridSignatureIsNotNull() {
            addCriterion("reform_reply.grid_signature is not null");
            return (Criteria) this;
        }

        public Criteria andGridSignatureEqualTo(String value) {
            addCriterion("reform_reply.grid_signature =", value, "gridSignature");
            return (Criteria) this;
        }

        public Criteria andGridSignatureNotEqualTo(String value) {
            addCriterion("reform_reply.grid_signature <>", value, "gridSignature");
            return (Criteria) this;
        }

        public Criteria andGridSignatureGreaterThan(String value) {
            addCriterion("reform_reply.grid_signature >", value, "gridSignature");
            return (Criteria) this;
        }

        public Criteria andGridSignatureGreaterThanOrEqualTo(String value) {
            addCriterion("reform_reply.grid_signature >=", value, "gridSignature");
            return (Criteria) this;
        }

        public Criteria andGridSignatureLessThan(String value) {
            addCriterion("reform_reply.grid_signature <", value, "gridSignature");
            return (Criteria) this;
        }

        public Criteria andGridSignatureLessThanOrEqualTo(String value) {
            addCriterion("reform_reply.grid_signature <=", value, "gridSignature");
            return (Criteria) this;
        }

        public Criteria andGridSignatureLike(String value) {
            addCriterion("reform_reply.grid_signature like", value, "gridSignature");
            return (Criteria) this;
        }

        public Criteria andGridSignatureNotLike(String value) {
            addCriterion("reform_reply.grid_signature not like", value, "gridSignature");
            return (Criteria) this;
        }

        public Criteria andGridSignatureIn(List<String> values) {
            addCriterion("reform_reply.grid_signature in", values, "gridSignature");
            return (Criteria) this;
        }

        public Criteria andGridSignatureNotIn(List<String> values) {
            addCriterion("reform_reply.grid_signature not in", values, "gridSignature");
            return (Criteria) this;
        }

        public Criteria andGridSignatureBetween(String value1, String value2) {
            addCriterion("reform_reply.grid_signature between", value1, value2, "gridSignature");
            return (Criteria) this;
        }

        public Criteria andGridSignatureNotBetween(String value1, String value2) {
            addCriterion("reform_reply.grid_signature not between", value1, value2, "gridSignature");
            return (Criteria) this;
        }

        public Criteria andGridUsernameIsNull() {
            addCriterion("reform_reply.grid_username is null");
            return (Criteria) this;
        }

        public Criteria andGridUsernameIsNotNull() {
            addCriterion("reform_reply.grid_username is not null");
            return (Criteria) this;
        }

        public Criteria andGridUsernameEqualTo(String value) {
            addCriterion("reform_reply.grid_username =", value, "gridUsername");
            return (Criteria) this;
        }

        public Criteria andGridUsernameNotEqualTo(String value) {
            addCriterion("reform_reply.grid_username <>", value, "gridUsername");
            return (Criteria) this;
        }

        public Criteria andGridUsernameGreaterThan(String value) {
            addCriterion("reform_reply.grid_username >", value, "gridUsername");
            return (Criteria) this;
        }

        public Criteria andGridUsernameGreaterThanOrEqualTo(String value) {
            addCriterion("reform_reply.grid_username >=", value, "gridUsername");
            return (Criteria) this;
        }

        public Criteria andGridUsernameLessThan(String value) {
            addCriterion("reform_reply.grid_username <", value, "gridUsername");
            return (Criteria) this;
        }

        public Criteria andGridUsernameLessThanOrEqualTo(String value) {
            addCriterion("reform_reply.grid_username <=", value, "gridUsername");
            return (Criteria) this;
        }

        public Criteria andGridUsernameLike(String value) {
            addCriterion("reform_reply.grid_username like", value, "gridUsername");
            return (Criteria) this;
        }

        public Criteria andGridUsernameNotLike(String value) {
            addCriterion("reform_reply.grid_username not like", value, "gridUsername");
            return (Criteria) this;
        }

        public Criteria andGridUsernameIn(List<String> values) {
            addCriterion("reform_reply.grid_username in", values, "gridUsername");
            return (Criteria) this;
        }

        public Criteria andGridUsernameNotIn(List<String> values) {
            addCriterion("reform_reply.grid_username not in", values, "gridUsername");
            return (Criteria) this;
        }

        public Criteria andGridUsernameBetween(String value1, String value2) {
            addCriterion("reform_reply.grid_username between", value1, value2, "gridUsername");
            return (Criteria) this;
        }

        public Criteria andGridUsernameNotBetween(String value1, String value2) {
            addCriterion("reform_reply.grid_username not between", value1, value2, "gridUsername");
            return (Criteria) this;
        }

        public Criteria andIsHandleRepliedIsNull() {
            addCriterion("reform_reply.is_handle_replied is null");
            return (Criteria) this;
        }

        public Criteria andIsHandleRepliedIsNotNull() {
            addCriterion("reform_reply.is_handle_replied is not null");
            return (Criteria) this;
        }

        public Criteria andIsHandleRepliedEqualTo(Boolean value) {
            addCriterion("reform_reply.is_handle_replied =", value, "isHandleReplied");
            return (Criteria) this;
        }

        public Criteria andIsHandleRepliedNotEqualTo(Boolean value) {
            addCriterion("reform_reply.is_handle_replied <>", value, "isHandleReplied");
            return (Criteria) this;
        }

        public Criteria andIsHandleRepliedGreaterThan(Boolean value) {
            addCriterion("reform_reply.is_handle_replied >", value, "isHandleReplied");
            return (Criteria) this;
        }

        public Criteria andIsHandleRepliedGreaterThanOrEqualTo(Boolean value) {
            addCriterion("reform_reply.is_handle_replied >=", value, "isHandleReplied");
            return (Criteria) this;
        }

        public Criteria andIsHandleRepliedLessThan(Boolean value) {
            addCriterion("reform_reply.is_handle_replied <", value, "isHandleReplied");
            return (Criteria) this;
        }

        public Criteria andIsHandleRepliedLessThanOrEqualTo(Boolean value) {
            addCriterion("reform_reply.is_handle_replied <=", value, "isHandleReplied");
            return (Criteria) this;
        }

        public Criteria andIsHandleRepliedIn(List<Boolean> values) {
            addCriterion("reform_reply.is_handle_replied in", values, "isHandleReplied");
            return (Criteria) this;
        }

        public Criteria andIsHandleRepliedNotIn(List<Boolean> values) {
            addCriterion("reform_reply.is_handle_replied not in", values, "isHandleReplied");
            return (Criteria) this;
        }

        public Criteria andIsHandleRepliedBetween(Boolean value1, Boolean value2) {
            addCriterion("reform_reply.is_handle_replied between", value1, value2, "isHandleReplied");
            return (Criteria) this;
        }

        public Criteria andIsHandleRepliedNotBetween(Boolean value1, Boolean value2) {
            addCriterion("reform_reply.is_handle_replied not between", value1, value2, "isHandleReplied");
            return (Criteria) this;
        }

        public Criteria andHandleContentIsNull() {
            addCriterion("reform_reply.handle_content is null");
            return (Criteria) this;
        }

        public Criteria andHandleContentIsNotNull() {
            addCriterion("reform_reply.handle_content is not null");
            return (Criteria) this;
        }

        public Criteria andHandleContentEqualTo(String value) {
            addCriterion("reform_reply.handle_content =", value, "handleContent");
            return (Criteria) this;
        }

        public Criteria andHandleContentNotEqualTo(String value) {
            addCriterion("reform_reply.handle_content <>", value, "handleContent");
            return (Criteria) this;
        }

        public Criteria andHandleContentGreaterThan(String value) {
            addCriterion("reform_reply.handle_content >", value, "handleContent");
            return (Criteria) this;
        }

        public Criteria andHandleContentGreaterThanOrEqualTo(String value) {
            addCriterion("reform_reply.handle_content >=", value, "handleContent");
            return (Criteria) this;
        }

        public Criteria andHandleContentLessThan(String value) {
            addCriterion("reform_reply.handle_content <", value, "handleContent");
            return (Criteria) this;
        }

        public Criteria andHandleContentLessThanOrEqualTo(String value) {
            addCriterion("reform_reply.handle_content <=", value, "handleContent");
            return (Criteria) this;
        }

        public Criteria andHandleContentLike(String value) {
            addCriterion("reform_reply.handle_content like", value, "handleContent");
            return (Criteria) this;
        }

        public Criteria andHandleContentNotLike(String value) {
            addCriterion("reform_reply.handle_content not like", value, "handleContent");
            return (Criteria) this;
        }

        public Criteria andHandleContentIn(List<String> values) {
            addCriterion("reform_reply.handle_content in", values, "handleContent");
            return (Criteria) this;
        }

        public Criteria andHandleContentNotIn(List<String> values) {
            addCriterion("reform_reply.handle_content not in", values, "handleContent");
            return (Criteria) this;
        }

        public Criteria andHandleContentBetween(String value1, String value2) {
            addCriterion("reform_reply.handle_content between", value1, value2, "handleContent");
            return (Criteria) this;
        }

        public Criteria andHandleContentNotBetween(String value1, String value2) {
            addCriterion("reform_reply.handle_content not between", value1, value2, "handleContent");
            return (Criteria) this;
        }

        public Criteria andHandleReplyTimeIsNull() {
            addCriterion("reform_reply.handle_reply_time is null");
            return (Criteria) this;
        }

        public Criteria andHandleReplyTimeIsNotNull() {
            addCriterion("reform_reply.handle_reply_time is not null");
            return (Criteria) this;
        }

        public Criteria andHandleReplyTimeEqualTo(Date value) {
            addCriterion("reform_reply.handle_reply_time =", value, "handleReplyTime");
            return (Criteria) this;
        }

        public Criteria andHandleReplyTimeNotEqualTo(Date value) {
            addCriterion("reform_reply.handle_reply_time <>", value, "handleReplyTime");
            return (Criteria) this;
        }

        public Criteria andHandleReplyTimeGreaterThan(Date value) {
            addCriterion("reform_reply.handle_reply_time >", value, "handleReplyTime");
            return (Criteria) this;
        }

        public Criteria andHandleReplyTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("reform_reply.handle_reply_time >=", value, "handleReplyTime");
            return (Criteria) this;
        }

        public Criteria andHandleReplyTimeLessThan(Date value) {
            addCriterion("reform_reply.handle_reply_time <", value, "handleReplyTime");
            return (Criteria) this;
        }

        public Criteria andHandleReplyTimeLessThanOrEqualTo(Date value) {
            addCriterion("reform_reply.handle_reply_time <=", value, "handleReplyTime");
            return (Criteria) this;
        }

        public Criteria andHandleReplyTimeIn(List<Date> values) {
            addCriterion("reform_reply.handle_reply_time in", values, "handleReplyTime");
            return (Criteria) this;
        }

        public Criteria andHandleReplyTimeNotIn(List<Date> values) {
            addCriterion("reform_reply.handle_reply_time not in", values, "handleReplyTime");
            return (Criteria) this;
        }

        public Criteria andHandleReplyTimeBetween(Date value1, Date value2) {
            addCriterion("reform_reply.handle_reply_time between", value1, value2, "handleReplyTime");
            return (Criteria) this;
        }

        public Criteria andHandleReplyTimeNotBetween(Date value1, Date value2) {
            addCriterion("reform_reply.handle_reply_time not between", value1, value2, "handleReplyTime");
            return (Criteria) this;
        }

        public Criteria andHandleSignatureIsNull() {
            addCriterion("reform_reply.handle_signature is null");
            return (Criteria) this;
        }

        public Criteria andHandleSignatureIsNotNull() {
            addCriterion("reform_reply.handle_signature is not null");
            return (Criteria) this;
        }

        public Criteria andHandleSignatureEqualTo(String value) {
            addCriterion("reform_reply.handle_signature =", value, "handleSignature");
            return (Criteria) this;
        }

        public Criteria andHandleSignatureNotEqualTo(String value) {
            addCriterion("reform_reply.handle_signature <>", value, "handleSignature");
            return (Criteria) this;
        }

        public Criteria andHandleSignatureGreaterThan(String value) {
            addCriterion("reform_reply.handle_signature >", value, "handleSignature");
            return (Criteria) this;
        }

        public Criteria andHandleSignatureGreaterThanOrEqualTo(String value) {
            addCriterion("reform_reply.handle_signature >=", value, "handleSignature");
            return (Criteria) this;
        }

        public Criteria andHandleSignatureLessThan(String value) {
            addCriterion("reform_reply.handle_signature <", value, "handleSignature");
            return (Criteria) this;
        }

        public Criteria andHandleSignatureLessThanOrEqualTo(String value) {
            addCriterion("reform_reply.handle_signature <=", value, "handleSignature");
            return (Criteria) this;
        }

        public Criteria andHandleSignatureLike(String value) {
            addCriterion("reform_reply.handle_signature like", value, "handleSignature");
            return (Criteria) this;
        }

        public Criteria andHandleSignatureNotLike(String value) {
            addCriterion("reform_reply.handle_signature not like", value, "handleSignature");
            return (Criteria) this;
        }

        public Criteria andHandleSignatureIn(List<String> values) {
            addCriterion("reform_reply.handle_signature in", values, "handleSignature");
            return (Criteria) this;
        }

        public Criteria andHandleSignatureNotIn(List<String> values) {
            addCriterion("reform_reply.handle_signature not in", values, "handleSignature");
            return (Criteria) this;
        }

        public Criteria andHandleSignatureBetween(String value1, String value2) {
            addCriterion("reform_reply.handle_signature between", value1, value2, "handleSignature");
            return (Criteria) this;
        }

        public Criteria andHandleSignatureNotBetween(String value1, String value2) {
            addCriterion("reform_reply.handle_signature not between", value1, value2, "handleSignature");
            return (Criteria) this;
        }

        public Criteria andHandleUsernameIsNull() {
            addCriterion("reform_reply.handle_username is null");
            return (Criteria) this;
        }

        public Criteria andHandleUsernameIsNotNull() {
            addCriterion("reform_reply.handle_username is not null");
            return (Criteria) this;
        }

        public Criteria andHandleUsernameEqualTo(String value) {
            addCriterion("reform_reply.handle_username =", value, "handleUsername");
            return (Criteria) this;
        }

        public Criteria andHandleUsernameNotEqualTo(String value) {
            addCriterion("reform_reply.handle_username <>", value, "handleUsername");
            return (Criteria) this;
        }

        public Criteria andHandleUsernameGreaterThan(String value) {
            addCriterion("reform_reply.handle_username >", value, "handleUsername");
            return (Criteria) this;
        }

        public Criteria andHandleUsernameGreaterThanOrEqualTo(String value) {
            addCriterion("reform_reply.handle_username >=", value, "handleUsername");
            return (Criteria) this;
        }

        public Criteria andHandleUsernameLessThan(String value) {
            addCriterion("reform_reply.handle_username <", value, "handleUsername");
            return (Criteria) this;
        }

        public Criteria andHandleUsernameLessThanOrEqualTo(String value) {
            addCriterion("reform_reply.handle_username <=", value, "handleUsername");
            return (Criteria) this;
        }

        public Criteria andHandleUsernameLike(String value) {
            addCriterion("reform_reply.handle_username like", value, "handleUsername");
            return (Criteria) this;
        }

        public Criteria andHandleUsernameNotLike(String value) {
            addCriterion("reform_reply.handle_username not like", value, "handleUsername");
            return (Criteria) this;
        }

        public Criteria andHandleUsernameIn(List<String> values) {
            addCriterion("reform_reply.handle_username in", values, "handleUsername");
            return (Criteria) this;
        }

        public Criteria andHandleUsernameNotIn(List<String> values) {
            addCriterion("reform_reply.handle_username not in", values, "handleUsername");
            return (Criteria) this;
        }

        public Criteria andHandleUsernameBetween(String value1, String value2) {
            addCriterion("reform_reply.handle_username between", value1, value2, "handleUsername");
            return (Criteria) this;
        }

        public Criteria andHandleUsernameNotBetween(String value1, String value2) {
            addCriterion("reform_reply.handle_username not between", value1, value2, "handleUsername");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("reform_reply.create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("reform_reply.create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("reform_reply.create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("reform_reply.create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("reform_reply.create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("reform_reply.create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("reform_reply.create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("reform_reply.create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("reform_reply.create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("reform_reply.create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("reform_reply.create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("reform_reply.create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andGridAuditStateIsNull() {
            addCriterion("reform_reply.grid_audit_state is null");
            return (Criteria) this;
        }

        public Criteria andGridAuditStateIsNotNull() {
            addCriterion("reform_reply.grid_audit_state is not null");
            return (Criteria) this;
        }

        public Criteria andGridAuditStateEqualTo(Integer value) {
            addCriterion("reform_reply.grid_audit_state =", value, "gridAuditState");
            return (Criteria) this;
        }

        public Criteria andGridAuditStateNotEqualTo(Integer value) {
            addCriterion("reform_reply.grid_audit_state <>", value, "gridAuditState");
            return (Criteria) this;
        }

        public Criteria andGridAuditStateGreaterThan(Integer value) {
            addCriterion("reform_reply.grid_audit_state >", value, "gridAuditState");
            return (Criteria) this;
        }

        public Criteria andGridAuditStateGreaterThanOrEqualTo(Integer value) {
            addCriterion("reform_reply.grid_audit_state >=", value, "gridAuditState");
            return (Criteria) this;
        }

        public Criteria andGridAuditStateLessThan(Integer value) {
            addCriterion("reform_reply.grid_audit_state <", value, "gridAuditState");
            return (Criteria) this;
        }

        public Criteria andGridAuditStateLessThanOrEqualTo(Integer value) {
            addCriterion("reform_reply.grid_audit_state <=", value, "gridAuditState");
            return (Criteria) this;
        }

        public Criteria andGridAuditStateIn(List<Integer> values) {
            addCriterion("reform_reply.grid_audit_state in", values, "gridAuditState");
            return (Criteria) this;
        }

        public Criteria andGridAuditStateNotIn(List<Integer> values) {
            addCriterion("reform_reply.grid_audit_state not in", values, "gridAuditState");
            return (Criteria) this;
        }

        public Criteria andGridAuditStateBetween(Integer value1, Integer value2) {
            addCriterion("reform_reply.grid_audit_state between", value1, value2, "gridAuditState");
            return (Criteria) this;
        }

        public Criteria andGridAuditStateNotBetween(Integer value1, Integer value2) {
            addCriterion("reform_reply.grid_audit_state not between", value1, value2, "gridAuditState");
            return (Criteria) this;
        }

        public Criteria andHandleAuditStateIsNull() {
            addCriterion("reform_reply.handle_audit_state is null");
            return (Criteria) this;
        }

        public Criteria andHandleAuditStateIsNotNull() {
            addCriterion("reform_reply.handle_audit_state is not null");
            return (Criteria) this;
        }

        public Criteria andHandleAuditStateEqualTo(Integer value) {
            addCriterion("reform_reply.handle_audit_state =", value, "handleAuditState");
            return (Criteria) this;
        }

        public Criteria andHandleAuditStateNotEqualTo(Integer value) {
            addCriterion("reform_reply.handle_audit_state <>", value, "handleAuditState");
            return (Criteria) this;
        }

        public Criteria andHandleAuditStateGreaterThan(Integer value) {
            addCriterion("reform_reply.handle_audit_state >", value, "handleAuditState");
            return (Criteria) this;
        }

        public Criteria andHandleAuditStateGreaterThanOrEqualTo(Integer value) {
            addCriterion("reform_reply.handle_audit_state >=", value, "handleAuditState");
            return (Criteria) this;
        }

        public Criteria andHandleAuditStateLessThan(Integer value) {
            addCriterion("reform_reply.handle_audit_state <", value, "handleAuditState");
            return (Criteria) this;
        }

        public Criteria andHandleAuditStateLessThanOrEqualTo(Integer value) {
            addCriterion("reform_reply.handle_audit_state <=", value, "handleAuditState");
            return (Criteria) this;
        }

        public Criteria andHandleAuditStateIn(List<Integer> values) {
            addCriterion("reform_reply.handle_audit_state in", values, "handleAuditState");
            return (Criteria) this;
        }

        public Criteria andHandleAuditStateNotIn(List<Integer> values) {
            addCriterion("reform_reply.handle_audit_state not in", values, "handleAuditState");
            return (Criteria) this;
        }

        public Criteria andHandleAuditStateBetween(Integer value1, Integer value2) {
            addCriterion("reform_reply.handle_audit_state between", value1, value2, "handleAuditState");
            return (Criteria) this;
        }

        public Criteria andHandleAuditStateNotBetween(Integer value1, Integer value2) {
            addCriterion("reform_reply.handle_audit_state not between", value1, value2, "handleAuditState");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}